package com.sz.biz.pay.account.service.impl;

import com.sz.biz.common.constants.ShortName;
import com.sz.biz.pay.account.entity.NodeInfo;
import com.sz.biz.pay.account.service.NodeInfoService;
import com.sz.common.base.dto.QResultDto;
import com.sz.common.base.dto.QueryParams;
import com.sz.common.base.service.AbstractService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Function: NodeInfoServiceImpl <br>
 * Author: siqishangshu <br>
 * Date: 2017-10-27 19:06:00
 */
@Service
@Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
public class NodeInfoServiceImpl extends AbstractService implements NodeInfoService {
    @Override
    public NodeInfo select(String id) {
        return (NodeInfo) dao.findForObject(getMapperNamespace()+ ShortName.SELECT_BY_ID,id);
    }

    @Override
    public List<NodeInfo> selectList(List ids) {
        return null;
    }

    @Override
    public List<NodeInfo> selectAll() {
        return null;
    }

    @Override
    public QResultDto selectList(QueryParams param) {
        return null;
    }

    @Override
    public int count(QueryParams param) {
        return 0;
    }

    @Override
    public int countAll() {
        return 0;
    }

    @Override
    protected String getMapperNamespace() {
        return "com.sz.biz.pay.account.entity.NodeInfoMapper";
    }
}
